import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'

// import Vue from 'vue';
// import Vant from 'vant';
import 'vant/lib/index.css';

// Vue.use(Vant);
//轮播图
import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';
//弹出框
import { Dialog } from 'vant';
//轻提示
import { Toast } from 'vant';
//下拉菜单
import { DropdownMenu, DropdownItem } from 'vant';
//通知栏
import { NoticeBar } from 'vant';

Vue.use(NoticeBar);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);

Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Dialog);
Vue.use(Toast);
Vue.config.productionTip = false

new Vue({
  router,
  store,

  render: h => h(App)
}).$mount('#app')
